<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<Animoso.Domain.LinkItem>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Animoso: Link Toevoegen
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Link Toevoegen</h2>

    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Link Gegevens</legend>
            <p>
                <label for="Text">Link Tekst:</label><br />
                <%= Html.TextBox("Text") %>
                <%= Html.ValidationMessage("Text", "*") %>
            </p>
            <p>
                <label for="LinkText">Verwijzing:</label><br />
                <%= Html.TextBox("LinkText") %>
                <%= Html.ValidationMessage("LinkText", "*") %>
            </p>
            <p>
                <%= Html.Hidden("Id") %>
                <input type="submit" value="Toevoegen" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

